package com.alibaba.aone.casestudy.dao;

import java.util.List;

import com.alibaba.aone.casestudy.common.entity.CaseStudyConditions;
import com.alibaba.aone.casestudy.common.entity.Casestudy;
import com.alibaba.aone.casestudy.common.entity.CasestudyAnalysisParticipant;

public interface CasestudyDao {

	public void insertCasestudy(Casestudy casestudy);

	public Casestudy loadCasestudy(String casestudyNo);

	public List<Casestudy> listCasestudys(CaseStudyConditions conditions);

	public int updateCasestudy(Casestudy casestudy);

	public List<Casestudy> search(CaseStudyConditions caseStudyConditions);

	public List<CasestudyAnalysisParticipant> findAnalysisPartisByCasestudyno(
			String csno);

	public void insertAnalysisParti(CasestudyAnalysisParticipant parti);

	public int deleteAnalysisParti(CasestudyAnalysisParticipant parti);
}